package com.shishuo.cms.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.shishuo.cms.entity.UserMenuEntity;
@Repository
public interface UserMenuDao extends IBaseDAO<UserMenuEntity, Integer>{

	List<UserMenuEntity> getMenus(int id);

	List<UserMenuEntity> getMenus(int id, int userId);

	List<UserMenuEntity> getMenus();

	List<UserMenuEntity> getChildMenus(int parentId);

}
